<?php if (!defined('LEGAL_INNER_USE')){die('ILLEGAL USING!');}?>
<?php
$main_title = '保养与系法';
$sub_title = false;

$cont_file_name = 'default';
if (isset($_GET['no'])){
	$no = trim($_GET['no'])*1;
	$cont_file_name = $no;
	switch($no){
		case 1:
			$sub_title = '真丝';
			break;
		case 2:
			$sub_title = '羊绒';
			break;
		case 3:
			$sub_title = '羊毛';
			break;
		case 4:
			$sub_title = '丝巾保养';
			break;
		case 5:
			$sub_title = '羊绒围巾保养';
			break;
		case 6:
			$sub_title = '皮类保养';
			break;
		default:
			$sub_title = false;
	}
}

$breadcrumb = '<ul class="breadcrumb">';
$breadcrumb .= '<li><a href="'.makeUrl("index").'">首页</a> <span class="divider">/</span></li>';
$breadcrumb .= '<li><a href="'.makeUrl("goodsToKnow").'">保养系法</a>';
if (!$sub_title){
	$breadcrumb .= '</li>';
} else {
	$breadcrumb .= ' <span class="divider">/</span></li>';
	$breadcrumb .= $sub_title;
}
$breadcrumb .= '</ul>';

define('META_TITLE', ($sub_title?$sub_title.' - ':'').$main_title);
if ($sub_title){
	$page_cont = getPageContFormDb(META_TITLE);
	$is_required = false;
} else {
	$is_required = true;
	$page_cont = ROOT_TMP.'templates/goodsToKnow/default.php';
}








